package vn.bus.controllers;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

import vn.bus.service.ConnectionService;

@Path("/json/connection")
public class ConnectionController {
	
	@GET
	@Path("/all")
	public String getAllConns()
	{
		ConnectionService connsService = new ConnectionService();
		return connsService.allConnsJson();
	}
}
